package com.suse.service.admin.edu.feign;

import com.suse.common.config.response.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient("service-cos")
public interface CosService {

    @DeleteMapping("/dev-api/cos/file/remove")
    R removeFile(@RequestBody String url);

}
